package com.lq.tech;

import com.lq.tech.annotation.EnableGenServiceClient;
import com.lq.tech.annotation.EnableFastAccessGrant;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EurekaClientConfigBean;
import org.springframework.cloud.netflix.eureka.serviceregistry.EurekaRegistration;
import org.springframework.cloud.netflix.eureka.serviceregistry.EurekaServiceRegistry;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.lq.tech"})
@EnableFastAccessGrant
@EnableGenServiceClient
public class StarterServiceApplication {

	public static void main(String[] args) {

		SpringApplication.run(StarterServiceApplication.class, args);
	}

}
